package com.cloudweb.oa.api;

import com.alibaba.fastjson.JSONObject;

import java.sql.SQLException;

public interface ILeaveScriptService {

    JSONObject leaveNodeValidateEvent(com.redmoon.oa.flow.FormDAO fdao);

    void leaveNodePreconditionEvent(com.redmoon.oa.flow.FormDAO fdao);

    void leaveNodeFinishEvent(com.redmoon.oa.flow.FormDAO fdao) throws SQLException;

    void leaveBalanceNodeFinishEvent(com.redmoon.oa.flow.FormDAO fdao) throws SQLException;

    void overtimeNodeFinishEvent(com.redmoon.oa.flow.FormDAO fdao) throws SQLException;
}
